package com.atguigu.spzx.manager.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author hao
 * @Date 2023/10/21 15:25
 * @PackageName:com.atguigu.spzx.manager.mapper
 * @ClassName: SysRoleUserMapper
 * @Description: TODO
 * @Version 1.0
 */
@Mapper
public interface SysRoleUserMapper {
    void deleteByUserId(Long userId);

    void doAssign(Long userId, Long roleId);

    List<Long> findSysUserRoleByUserId(Long userId);
}
